﻿using System;

namespace DBMock.Validators.Attributes
{
    /// <summary>
    /// 相等验证器特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
    public class EqualValidatorAttribute : BaseValidatorAttribute
    {
        /// <summary>
        /// 初始化EqualValidatorAttribute
        /// </summary>
        /// <param name="refColumn"></param>
        public EqualValidatorAttribute(string refColumn)
            : base(typeof(EqualValidator), refColumn)
        {
        }
    }
}
